<?php

class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{
	protected function _initTrans(){
		
		$translate = new Zend_Translate(array(
				'adapter' => 'gettext',
				'content' => APPLICATION_PATH."/languages/",
				'scan' => Zend_Translate::LOCALE_FILENAME,
				'default'	=> 'en_US',
				'disableNotices'  => true,
		));
		$locale = new Zend_Locale("en_US");
		$translate->setLocale($locale);
		//Zend_Form::setDefaultTranslator($translate);
		Zend_Registry::set("Zend_Translate",$translate);
	}
}

